package io.renren.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.renren.commons.tools.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* 访客
*
* @author liuyujun 384880231@qq.com
* @since 3.0 2022-01-13
*/
@Data
@ApiModel(value = "访客")
public class VisitorAppointmentDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID",hidden = true)
    private Long id;
    @ApiModelProperty(value = "访客姓名")
    private String visitorName;
    @ApiModelProperty(value = "访客数量")
    private Integer visitorCount;
    @ApiModelProperty(value = "访客时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date visitorTime;
    @ApiModelProperty(value = "访客车牌")
    private String visitorPlate;
    @ApiModelProperty(value = "所属者",hidden = true)
    private String owner;
    @ApiModelProperty(value = "是否进来")
    private Boolean intoVillage;
    @ApiModelProperty(value = "进来时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date intoTime;
    @ApiModelProperty(value = "放行人ID")
    private Long greenLighter;
    @ApiModelProperty(value = "创建人",hidden = true)
    private String creator;
    @ApiModelProperty(value = "创建时间",hidden = true)
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createDate;
    @ApiModelProperty(value = "逻辑删除",hidden = true)
    private Boolean logicalDelete;
}